# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=gggooglescan
pkgver=0.4
pkgrel=5
groups=('blackarch' 'blackarch-scanner')
pkgdesc='A Google scraper which performs automated searches and returns results of search queries in the form of URLs or hostnames.'
arch=('any')
url='http://www.morningstarsecurity.com/research/gggooglescan'
license=('GPL3')
depends=('bash' 'curl' 'perl')
source=("http://www.morningstarsecurity.com/downloads/$pkgname-$pkgver.tar.gz")
sha512sums=('b60c8115624d0ca24e6dbfb5937b81899e19e9fc6a7301aefdcc23ccf2b73380ad6b75ee1a94a5c40d753da84fc9dee9affe715b4ccf06a36e85bd82b314339b')

package() {
  cd "$pkgname-$pkgver"

  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 wordlist "$pkgdir/usr/share/$pkgname/wordlist"
  install -Dm 644 -t "$pkgdir/usr/share/$pkgname/" README
}

